import request from '@/utils/request'

// 查询医保局财务处报销通知列表
export function getInsuranceBureauList(query) {
  return request({
    url: '/system/bureau/list',
    method: 'get',
    params: query
  })
}

// 查询医保局交易记录列表
export function getTransactionRecord(query) {
  return request({
    url: '/system/transaction/record/list',
    method: 'get',
    params: query
  })
}

// 获取医保局财务处账户详细信息
export function getAccountDetail() {
  return request({
    url: '/system/financeDepartInfo/detail',
    method: 'get'
  })
}

// 标为已读
export function changeStatus(data) {
  return request({
    url: '/system/bureau',
    method: 'put',
    data: data
  })
}